package com.zzxz.practicaltrainingsys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
@Data
public class Log {
    private Integer logID;
    private Integer userID;
    private String IpAddress;
    private String OS;
    private String IE;
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")  // 显式指定格式
    private LocalDateTime createDate;

}

